The blanks are filled, below.
try { . . . . } catch( FileNotFoundException nfx ) { } catch( IOException iox ) { }
Of course, you can use any names for the
arguments of the catch{}
clauses.
The blocks have to be in the given order
since FileNotFoundException
is a child class of IOException
Also,
the blocks should actually do something.
All that remains is to check the command line arguments. The command line looks like this:
java copyBytes sourceFile to destinationFile
(Review chapter 49B if you have forgotten about command line arguments.)
How many arguments are there in this command line?